﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
enum Hero
{
    刘备 = 1,
    孙权,
    曹操
}
enum Rule
{
    剪刀 = 1,
    石头,
    布
}
namespace ConsoleApp5
{
    class Father
    {

        public int cname1;
        public string pname1;
        
        public int Cname1 { get => cname1; set => cname1 = value; }
        public string Pname1 { get => pname1; set => pname1 = value; }
       

        public void GameChoose()
        {
            Console.WriteLine("请选择对方的角色 《1.刘备 2.孙权 3.曹操》");
            Cname1 = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入你的姓名：");
            this.pname1 = Console.ReadLine();
            Console.WriteLine(Pname1 + " vs " + (Hero)Cname1 + "  对战");
            Console.WriteLine("开始游戏吗？（y/n）");
        }

    }
}
